package com.ys.servers.common.util;

/**
 * Created by taotao on 2017/5/9.
 */
public abstract interface MathUtils {

    public static int getRandomInt(int max) {
        return 1 + (int) (Math.random() * max);
    }

    public static void main(String[] args){
        for(int i=0;i<20;i++){
            System.out.print(getRandomInt(20)+";");
        }
    }
}
